
using Qdb.Internal.Caching;

namespace Qdb.Internal.Caching
{
	/// <exclude></exclude>
	public class CacheFactory
	{
		public static ICache4 New2QCache(int size)
		{
			return new LRU2QCache(size);
		}

		public static ICache4 New2QLongCache(int size)
		{
			return new LRU2QLongCache(size);
		}

		public static ICache4 New2QXCache(int size)
		{
			return new LRU2QXCache(size);
		}

		public static IPurgeableCache4 NewLRUCache(int size)
		{
			return new LRUCache(size);
		}

		public static IPurgeableCache4 NewLRUIntCache(int size)
		{
			return new LRUIntCache(size);
		}
	}
}
